<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class UserController extends Controller
{
    public function index(){
    	echo "这是用户主页";
    }
    public function add(){
    	//echo "用户添加列表";
    	return route("add");
    	
    }
    public function edit($id){
    	// echo $id;
    	// echo "用户修改页面";
    	return view("user.edit");
    }
    public function update(){
    	echo "执行修改";
    }
    public function del($id){
    	echo "删除".$id."用户";
    }
}
